#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Generic;
namespace Cephei.QL.Instruments
{
     // <summary> 
	// ! Binary cash-or-nothing payoff
	// </summary>
    [Guid ("CA1DEDC4-9909-4470-9104-C424497AF591"),ComVisible(true)]
	public interface ICashOrNothingPayoff : Cephei.QL.Instruments.IStrikedTypePayoff
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        
		 Double CashPayoff {get;}
        
		 String Description {get;}
        
		 String Name {get;}
    }

    // <summary> 
	// ! Binary cash-or-nothing payoff Factory
	// </summary>
   	[ComVisible(true)]
    public interface ICashOrNothingPayoff_Factory // : Collection_Factory<ICashOrNothingPayoff, ICell<ICashOrNothingPayoff>>
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        
	    ICashOrNothingPayoff Create (QL.Option.TypeEnum type, Double strike, Double cashPayoff);
    }
}

